package com.kkwrite.regimen.common.entity.dto;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * Created by lisha on 2018/7/6 20:13.
 *
 * @author lisha
 */
public class BaseDTO implements Serializable {
    private static final long serialVersionUID = -5975617455409329815L;

    private String code;
    private String message;

    private Timestamp gmtCreate;
    private String creator;
    private Timestamp gmtModified;
    private String modifier;
    private String ext0;
    private String ext1;
    private String ext2;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Timestamp getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Timestamp gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Timestamp getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Timestamp gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public String getExt0() {
        return ext0;
    }

    public void setExt0(String ext0) {
        this.ext0 = ext0;
    }

    public String getExt1() {
        return ext1;
    }

    public void setExt1(String ext1) {
        this.ext1 = ext1;
    }

    public String getExt2() {
        return ext2;
    }

    public void setExt2(String ext2) {
        this.ext2 = ext2;
    }

    @Override
    public String toString() {
        return "BaseDTO{" +
                "code='" + code + '\'' +
                ", message='" + message + '\'' +
                ", gmtCreate=" + gmtCreate +
                ", creator='" + creator + '\'' +
                ", gmtModified=" + gmtModified +
                ", modifier='" + modifier + '\'' +
                ", ext0='" + ext0 + '\'' +
                ", ext1='" + ext1 + '\'' +
                ", ext2='" + ext2 + '\'' +
                '}';
    }
}
